package cn.webestar.scms.user.controller;

import cn.webestar.scms.commons.R;
import cn.webestar.scms.user.mapper.UserMapper;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@Slf4j
@RestController
@Tag(name = "无需安全保护接口")
@RequestMapping("/unpapi")
public class UnpController {

    @Autowired
    private UserMapper userMapper;

    @GetMapping("/matedata")
    public R<Map<String,String>> matedata(){
        Map<String,String> map = new HashMap<>();
        map.put("version","version");
        map.put("buildTimestamp","buildTimestamp");
        return R.success(map);
    }

}
